package org.zju.demo.model.request;

/**
 * Created by admin on 2015/8/25.
 */
public class RequestGetCategoryJson extends BasicRequestJson{

    private int goods_category;

    private String time;

    private double longitude;

    private double latitude;

    public int getGoods_category() {
        return goods_category;
    }

    public void setGoods_category(int goods_category) {
        this.goods_category = goods_category;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    @Override
    public String toString() {
        return String.format("%s %d %s %f %f\n", super.getUsername(), goods_category, time, longitude, latitude);
    }
}
